﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using DBLibrary;

[TableMap("Bill")]
public class BillDetail
{
    [ColumnMap("BillId", IsIdentity = true)]
    public long BillId { get; set; }

    [ColumnMap("CustomerName")]
    public string CustomerName { get; set; }

    [ColumnMap("SpendItemName")]
    public string SpendItemName { get; set; }

    [ColumnMap("SpendItemPrice")]
    public double SpendItemPrice { get; set; }

    [ColumnMap("SpendTypeName")]
    public string SpendTypeName { get; set; }

    [ColumnMap("SpendItemCount")]
    public int SpendItemCount { get; set; }

    [ColumnMap("Time")]
    public DateTime Time { get; set; }
}